package com.dnjn.mes.biz.service;

import com.dnjn.mes.biz.domain.MesWorkforceShiftClocking;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 打卡记录 服务类
 * </p>
 *
 * @author Amber
 * @since 2023-08-29
 */
public interface IMesWorkforceShiftClockingService extends IService<MesWorkforceShiftClocking> {

    MesWorkforceShiftClocking checkClockInOrOut(long equipmentId, Long userId,Long shiftId);

    MesWorkforceShiftClocking checkClockUser(String date, Long equipmentId, Long userId);

    void checkOutAll(Long shiftId,long equipmentId);

    List<MesWorkforceShiftClocking> clockInRecords(String searchKey, long equipmentId);
}
